package com.daogu.fuelcard.dao;

import com.daogu.fuelcard.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper {


    List<User> getUserList();

    void insertUser(User user);


    User findUserByUsername(@Param("userName") String userName);
}
